<!DOCTYPE html>
<html lang="en">
<head>
    <title>处方详情</title>
    <titleType style="display: none;">yjjList</titleType>
    <%- include('../../_global/baseLibsJKDA') %>
    <script src="/static/lib/forweb.js"></script>
    <script src="/static/js/aboutPay.js"></script>
    <script src="/quickJs/scripts/swiper/3.4.2/js/swiper.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/static/css/payment.css">
    <link rel="stylesheet" type="text/css" href="/static/css/page.css">
    <link rel="stylesheet" type="text/css" href="/static/css/public.css">
     <script src="/quickJs/scripts/common/md5.js"></script>
     <script src="/static/js/<%=type%>/pageUrl.js"></script>
     <script src="/static/js/<%=type%>/jkda.js"></script>
</head>
<style>
    .hospital-detail .hospital-jj-box .text-box span.yellow {
        margin-left: 0.5rem !important;
    }
</style>
<script type="text/javascript">

</script>

<body>

<header class="header-box fixed grey">
    <div class="header-content">
        <div class="left-tool">
            <a class="back" href="javascript:void(0);"><i class="iconfont icon-back"></i></a>
        </div>
        <div class="title">处方详情</div>
    </div>
</header>
<section class="page-wrap hospital-detail" style="width: 100%;position: absolute;">
    <div id="ListTabBox">
        <div class="tab active" id="allBill" index="0">
           
           
        </div>
    </div>
</section>




</body>

</html>
<script>


    // $(".bilsContent").on("click", redirect);
    // function  redirect() {
    //     $.QuickUrlUtils.redirectJSBridge({url:"/html/gzd/electPres/presDetail.html"});

    // }
    var page_dzcfDetail = (function($, page_dzcfDetail) {


        var cfg_def = {
            initAllData: initAllData,
        }

        page_dzcfDetail.init = function(cfg){
            $.extend(page_dzcfDetail, cfg_def, cfg);
            page_dzcfDetail.initAllData();

        }

        return page_dzcfDetail;
        /**加载数据*/
        function initAllData() {
            var prescription = StoreCache.getCache("mzInfo");
            prescription = {
                "zxwyh" : prescription.pid,
                "medicalOrgId" :prescription.hosCode,
                "serialNum" :prescription.serialNum,
                "prescriptionId":"227858105",
                "currentPage":"1",
                "pageSize":"10"
            };
            $.QuickRemote.AjaxJson($.getMyorderUrl.getpageUrl("getPrescriptionDetail"), prescriptionList,prescription);
            function prescriptionList(data) {
                $("#allBill").html(template("getPrescriptionDetail", {data:data}));

            }


        }
    })(jQuery, {});
    

</script>
<script type="text/html" id="getPrescriptionDetail">
    {{each data}}
    <div class="presList">
        <ul class="bilsContent" onclick="">
            <li><span class="grayFont">项目名称  :</span> {{$value.xmmc}}</li>
            <li><span class="grayFont">处方明细编号 :</span> {{$value.cfmxbh}}</li>
            <li><span class="grayFont">项目单价 :</span>{{$value.xmdj}}{{$value.xmdw}}</li>
            <li><span class="grayFont">项目规格 :</span>  {{$value.xmgg}}</li>
            <li><span class="grayFont">项目金额 :</span>{{$value.xmje}}{{$value.xmdw}}</li>
            <li><span class="grayFont">项目频率 :</span>{{$value.xmpl}}</li>
            <li><span class="grayFont">项目数量 :</span>{{$value.xmsl}}</li>
            <li><span class="grayFont">项目用法 :</span>{{$value.xmyf}}</li>
        </ul>
    <div>
    {{/each}}
</script>



